package org.flh.book.shop.utils;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

/**
 * 描述：
 *
 * @author 花好月圆
 * @date 2021/1/18 13:31
 */
@ApiModel
@Getter
public class Page {

    @ApiModelProperty(value = "第几页", example = "0")
    private Integer currentPage;

    @ApiModelProperty(value = "每页多少条数据", example = "0")
    private Integer pageSize;

    Page(Integer currentPage, Integer pageSize) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
    }

}
